  /* reset css */
  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  a{
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  input,select,button{
    font-family: inherit;
    color: inherit;
    font-size: inherit;
    outline: none;
  }
  button{
    cursor: pointer;
  }
  [disabled]{
    opacity: .5;
    cursor: not-allowed;
  }
  button[type="submit"]{
    background-color: red;
    border: none;
    color: white;
  }
  table{
    border-collapse: collapse;
  }
  body{
    font-size: 14px;
  }

  /* layout css */
  .input,
  .btn{
    border: 1px solid #b0b0b0;
    background-color: white;
    padding: 4px 12px;
    border-radius: 4px;
  }
  .btn:hover,
  .input:focus{
    border-color: #666;
  }

  .container{
    width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .heading{
    text-align: center;
    padding: 20px;
  }

  .tools{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  
  .condition{
    display: flex;
  }
  .condition .input,
  .condition .btn{
    margin-right: 6px;
  }

  .table{
    width: 100%;
    margin-bottom: 20px;
  }
  .table th,
  .table td{
    border: 1px solid #ccc;
    padding: 10px 12px;
    text-align: left;
  }
  .table td .btn{
    margin-right: 5px;
  }
  .table .action .btn{
    padding: 2px 8px;
  }
  .table th.center,
  .table td.center{
    text-align: center;
  }
  .table td.right{
    text-align: right;
  }
  .table td.right em{
    font-style: normal;
    color: red;
  }

  .stripe tbody tr:nth-child(odd){
    background-color: #eee;
  }
  .form tbody th{
    background-color: #eee;
  }

  .pager{
    display: flex;
    justify-content: center;
  }
  .pager .btn{
    margin-left: 5px;
  }
  .pager a{
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: white;
    margin: 0 4px;
  }
  .pager a:not([disabled],.active):hover{
    border-color: #666;
  }
  .pager a.active{
    background-color: red;
    color: white;
    border-color: red;
  }

  .result{
    position: fixed;
    padding: 20px;
    width: 300px;
    line-height: 1.5;
    text-align: center;
    border-radius: 4px;
    font-size: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 1.5;
  }
  .result.success{
    background-color: #67c23a;
    color: #fff;
  }
  .result.fail{
    background-color: #f56c6c;
    color: #fff;
  }

  .result h4{
    margin-bottom: 10px;
    font-size: 20px;
  }

  .result b,
  .result a{
    color: orange;
  }

  .result a:hover{
    text-decoration: underline;
  }

  .upload{
    display: inline-block;
    padding: 3px;
    border: 1px solid #bbb;
    border-radius: 4px;
    overflow: hidden;
  }
  .upload [type="file"]{
    display: none;
  }
  .upload img{
    display: block;
    width: 100px;
    height: 100px;
    object-fit: scale-down;
    cursor: pointer;
  }
  .upload:hover img{
    border-color: #a6a6a6;
  }